package fachada.despant;

import java.io.IOException;
import java.util.Collection;

import dominio.Cliente;
import dominio.despant.Despesa_Antecipada;
import dominio.despant.Historico_Despesa_Antecipada;

public interface FachadaDesp_Ant {

	public String insertDesp_Ant(Despesa_Antecipada desp) throws ClassNotFoundException, IOException;
	public Collection selectDespesas(Cliente c, boolean quit) throws ClassNotFoundException, IOException;
	public Collection selectAllDespesas() throws ClassNotFoundException, IOException;
	public Despesa_Antecipada selectDespesaCliente(Despesa_Antecipada desp, Cliente c) throws ClassNotFoundException, IOException;
	public void insertDesp_Ant_Completa(Despesa_Antecipada desp) throws ClassNotFoundException, IOException;
	public void insertHistorico_Desp_Ant_Completa(Historico_Despesa_Antecipada desp, Despesa_Antecipada despesa) throws ClassNotFoundException, IOException;
	public Collection selectHistoricoDespesas(Cliente c, Despesa_Antecipada desp) throws ClassNotFoundException, IOException;
	public Historico_Despesa_Antecipada selectHistoricoById(int id) throws ClassNotFoundException, IOException;
	public void updateHistorico(Historico_Despesa_Antecipada historico) throws ClassNotFoundException, IOException;
	public void updateDespesaQuitada(Despesa_Antecipada despesa) throws ClassNotFoundException, IOException;
	public void deleteCliente_Desp_Ant(Despesa_Antecipada despesa) throws ClassNotFoundException, IOException;
	public Collection selectDespesasQuitadas(Cliente c, boolean b) throws ClassNotFoundException, IOException;
	public Despesa_Antecipada selectDespesaById(int id) throws ClassNotFoundException, IOException;
	
}
